package com.example.demo.repository;


import com.example.demo.identity.ChatMessages;
import com.example.demo.identity.GroupMsg;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ChatMsgRepository extends MongoRepository<ChatMessages, String> {

//    List<ChatMessages> SearchChatMsgById(Long groupId, Pageable pageable);

}
